package com.jia.lidao.ui.login;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.jia.lidao.R;
import com.jia.lidao.ui.BaseActivity;

/**
 * Created by jia on 17/12/17.
 */

public class RegisterAgreementActivity extends BaseActivity implements View.OnClickListener{


    ImageView ibBack;
    TextView tvTitle;
//    @BindView(R.id.ib_setting)
//    ImageView ibSetting;
//    @BindView(R.id.tv_right)
//    TextView tvRight;
//    @BindView(R.id.title_view)
//    RelativeLayout titleView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_registeragreement);
        initView();
    }

    private void initView() {
        ibBack=(ImageView)findViewById(R.id.ib_back);
        tvTitle=(TextView)findViewById(R.id.tv_title);
        tvTitle.setText("粒到农资注册协议");
        ibBack.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        finish();
    }
}
